package com.team.dao;

import com.team.entity.Equipment;
import com.team.entity.EquipmentStock;

public interface EquipmentStockDao {
	
	public EquipmentStock selectEquipmentStockByName(String name);//查询库存设备名是否存在
	
	public void saveEquipmentStock(EquipmentStock equipmentStock);//不存在就添加该设备
	
	public Integer seleteAsset();//先查询可用资产
	
	public void updateEquipmentaddStock(EquipmentStock equipmentStock);//申请新设备时更加设备数量和设备总价
	
	public void updateEquipmentsubStock(Equipment equipment);//添加设备时减少库存和总价
	
	public void updateAssetPrice(Integer price);//更新可用资产
	

}
